import { create } from 'zustand'

import { ICustomerInfo } from './interface'

export interface IStore {
  loading: boolean
  data: ICustomerInfo | null | undefined
}

export const useBoundStore = create<IStore>(() => {
  return {
    loading: false,
    data: null,
  }
})
